package com.think.teaching.service;

import com.think.teaching.model.TeacherInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 老师详细信息 服务类
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
public interface TeacherInfoService extends IService<TeacherInfo> {
	
	
	TeacherInfo AddNewTeacher(TeacherInfo teacherInfo);
		
	TeacherInfo UpdateTeacher(TeacherInfo teacherInfo);
	
	TeacherInfo GetTeacherInfo(Integer id);
	
	IPage<TeacherInfo> ListTeacherInfo(Integer page,Integer count,Boolean withoutBan);
	
	TeacherInfo SetTeacherState(Integer id,Integer state);
}
